// const botton = document.querySelector(".toggleButton")

// window.addEventListener("resize", () => {
//     var wide = window.innerWidth;
//     botton.style.setProperty("--buttonWidth", String(wide) + "px");
// })

// 滚动时钟测试

import {ScrollClock} from "./ScrollClock/ScrollClock.js";

let newScrollClock = ScrollClock(".scrollClock");

let nnewScrollClock = ScrollClock(".scrollClock1");

newScrollClock.addForceScroll();
newScrollClock.addTimeMode();
newScrollClock.addSizeFit(1);

nnewScrollClock.addForceScroll();
nnewScrollClock.addTimeMode();
nnewScrollClock.addSizeFit(2);

var scrollBotton = document.querySelectorAll(".ScrollButton");
newScrollClock.addButton(scrollBotton[0]);
nnewScrollClock.addButton(scrollBotton[1]);


